Release 10.1A: OpenEdge Development:
Progress Dynamics Repository Reference


ryc_attribute_value table — rycav

This table associates attributes with object types, SmartObjects, and SmartObject instances. It also specifies the value of the attribute in the appropriate native data type. If a native data type is not available, the CHARACTER data type is used.

The list of attribute values defined for the object type (class) must be complete. Unless an attribute is defined at the class level, it cannot be set within a subclass. Attribute values are not cascaded down to subclasses, and only override entries exist at subclass levels. To retrieve all the attribute values for an object, you must also read the attributes for all parent classes. Records only exist for subclasses if the value has been specifically overridden for that subclass.

When creating entries in this table for attributes associated with an object type, the object numbers for the SmartObject and instance are 0. When creating entries in the table for a SmartObject, the object type field is populated to avoid having 0 in the key. When creating attributes for an object instance, both the object type and the SmartObject are populated. This ensures effective use of the alternate keys.

Note: When you look for the attributes for an object type, check for the specific object type and 0 values for the SmartObject and instance fields.

When multiple rendering engines are supported and used, the render_type_object adds another dimension to the possible attribute values. You can specify a rendering engine type for attributes at the class, master, and instance levels. If an attribute is specified at the class level for a specific rendering engine type and not for a 0 rendering engine type, then that attribute is only used for the specific rendering engine type and is not applied across all rendering engines.

Table 10–9 lists the table’s FLA, fields, and foreign keys.

Table 10–9: ryc_attribute_value table information 
Table FLA
Fields (data type)
Foreign keys
rycav
attribute_value_obj (Decimal)
object_type_obj (Decimal)
container_smartobject_obj (Decimal)
smartobject_obj (Decimal)
object_instance_obj (Decimal)
constant_value (Logical)
attribute_label (Character)
character_value (Character)
integer_value (Integer)
date_value (Date)
decimal_value (Decimal)
logical_value (Logical)
raw_value (Raw)
primary_smartobject_obj (Decimal)
render_type_obj (Decimal)
applies_at_runtime (Logical)
attribute_label
object_instance_obj
object_type_obj
render_type_obj
smartobject_obj

Table 10–10 gives details of the table’s indexes.

Table 10–10: ryc_attribute_value index information
Index name
Elements
Type
XPKryc_attribute_value
attribute_value_obj
Primary Unique
XAK1ryc_attribute_value
object_type_obj
smartobject_obj
object_instance_obj
render_type_obj
attribute_label
Unique
XIE1ryc_attribute_value
attribute_label
object_type_obj
Nonunique
XIE2ryc_attribute_value
primary_smartobject_obj
attribute_label
Nonunique
XIE3ryc_attribute_value
object_instance_obj
Nonunique
XIE4ryc_attribute_value
container_smartobject_obj
Nonunique
XIE5ryc_attribute_value
smartobject_obj
Nonunique
XIE6ryc_attribute_value
render_type_obj
Nonunique
XIE7ryc_attribute_value
attribute_label
Nonunique
XIE8ryc_attribute_value
smartobject_obj
object_instance_obj
render_type_obj
applies_at_runtime
Nonunique


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095